VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.UI Namespace / PdfVisualTool Class / PointsFromPageSpaceToViewerSpace Methods / PointsFromPageSpaceToViewerSpace(VintasoftImage,PointF[],PointF[]) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointsFromPageSpaceToViewerSpace(VintasoftImage,PointF[],PointF[]) Method (PdfVisualTool)
    In This Topic
    Converts points from the PDF page's coordinate space to the image viewer's coordinate space.
    Syntax
    'Declaration
    
    Public Overloads Sub PointsFromPageSpaceToViewerSpace( _
    ByVal pageSpacePoints
    Points, in the PDF page's coordinate space, to convert.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal image
    The image.
    () As System.Drawing.PointF, _
    ByVal viewerSpacePoints
    Converted points, in the image viewer's coordinate space.
    () As System.Drawing.PointF _
    )
    public void PointsFromPageSpaceToViewerSpace(
    Vintasoft.Imaging.VintasoftImage pageSpacePoints,
    System.Drawing.PointF[] image,
    System.Drawing.PointF[] viewerSpacePoints
    )
    public: void PointsFromPageSpaceToViewerSpace(
    Vintasoft.Imaging.VintasoftImage* pageSpacePoints,
    System.Drawing.PointF[]* image,
    System.Drawing.PointF[]* viewerSpacePoints
    )
    public:
    void PointsFromPageSpaceToViewerSpace(
    Vintasoft.Imaging.VintasoftImage^ pageSpacePoints,
    array<System.Drawing.PointF>^ image,
    array<System.Drawing.PointF>^ viewerSpacePoints
    )

    Parameters

    pageSpacePoints
    Points, in the PDF page's coordinate space, to convert.
    image
    The image.
    viewerSpacePoints
    Converted points, in the image viewer's coordinate space.
    Exceptions
    ExceptionDescription
    Thrown if viewerSpacePoints.Length != pageSpacePoints.Length.
    Thrown if focused image is not a PDF page.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also